package com.voxel.sense.infomsg.data.bean;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by ChenYiYao on 2017/11/16.
 */

public class FirmTableInfoBean extends AbstractExpandableItem<FirmTableInfoBean> implements MultiItemEntity {
    public static final int TYPE_NORMAL = 0;
    public static final int TYPE_HEAD_EXPAND = 1;
    public static final int TYPE_HEAD_SECOND = 2;
    public static final int TYPE_HEAD = 3;
    public static final int TYPE_URL = 4;
    private int type = TYPE_HEAD;
    private String describe;
    private String value;

    public int getType() {
        return type;
    }

    public FirmTableInfoBean(int type, String describe, String value) {
        this.type = type;
        this.describe = describe;
        this.value = value;
    }

    public FirmTableInfoBean(String describe, String value) {
        this.describe = describe;
        this.value = value;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public int getItemType() {
        return type;
    }

    @Override
    public int getLevel() {
        return 0;
    }
}
